package com.android.aishangauction.model.detail;

import java.util.List;

/**
 * Created by lnest-php on 2017/9/15.
 */

public class DirectBuyOrderPayMethodData {

    /**
     * data : {"cart_type":0,"cart_goods":[{"id":"1569","mid":"1112","order_id":"1614","good_id":"441","goods_name":"口水鱼香辣味15g*20/盒 小鱼仔小鱼干 新老包装交替中","goods_spec":"","spec":"","buy_num":"1","cost_price":"0.00","sell_price":"30.00","score_price":"0","c_time":"1505550203","type":"1","obj_id":"0","goods_info":null,"extension_id":"0","share_id":"0","verify_code_id":"0","team_num":"0","express_id":null,"goods_id":"441","qty":"1","subtotal":"30.00","goods_cid":"50","goods_stock":"9836","goods_is_sale":"1","goods_weight":"0","goods_weight_unit":"","goods_price":"30.00","thumb":"[{\"path\":\"\\/upload\\/images\\/gallery\\/l\\/b\\/768_src.jpg\",\"title\":\"1\"}]","img_src":"http://jm.lnest.cc/upload/images/gallery/l/b/768_src.jpg","url":"http://jm.lnest.cc/goods/show/441"}],"address":{"id":"389","mid":"1112","username":"android01","name":"辅导教师","mobile":"13512345678","zone":"500","area":"北京  东城区","address":"宇宙中心五道口","zip":"","is_default":"0"},"weight":0,"fright":{"17":{"id":"17","name":"顺丰","pinyin":"sf","listorder":"0","status":"1","free":"0","sid":"6","title":"顺丰","is_default":1,"freight_free":"0.00","shipping_fee":"0.00"},"10":{"id":"10","name":"顺丰速递","pinyin":"shunfeng","listorder":"1","status":"1","free":"1","sid":"0","title":"顺丰速递","freight_free":"0.00","shipping_fee":"0.00"},"12":{"id":"12","name":"申通快递","pinyin":"shentong","listorder":"4","status":"1","free":"0","sid":"0","title":"申通快递","freight_free":"0.00","shipping_fee":"0.00"}},"flow_user_money":false,"flow_user_score":0,"payment":[{"pay_id":"61","pay_code":"wxpayapp","pay_name":"微信APP","pay_fee":"0","pay_desc":"微信APP <a target=\"_blank\" href=\"https://open.weixin.qq.com/cgi-bin/frame?t=home/app_tmpl&lang=zh_CN\">立即申请<\/a>","pay_order":"0","enabled":"1","is_cod":"1","is_online":"1","thumb":"http://jm.lnest.cc/upload/images/gallery/f/2/543_src.png"},{"pay_id":"62","pay_code":"alipayapp","pay_name":"支付宝APP","pay_fee":"0","pay_desc":"支付宝APP","pay_order":"0","enabled":"1","is_cod":"1","is_online":"1","thumb":"http://jm.lnest.cc/upload/images/gallery/f/1/542_src.png"}],"total":{"score_amout":0,"goods_amount":"30.00"},"token":"2e80f3a04287a313b322ae7a1be2daee"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1505550240
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * cart_type : 0
         * cart_goods : [{"id":"1569","mid":"1112","order_id":"1614","good_id":"441","goods_name":"口水鱼香辣味15g*20/盒 小鱼仔小鱼干 新老包装交替中","goods_spec":"","spec":"","buy_num":"1","cost_price":"0.00","sell_price":"30.00","score_price":"0","c_time":"1505550203","type":"1","obj_id":"0","goods_info":null,"extension_id":"0","share_id":"0","verify_code_id":"0","team_num":"0","express_id":null,"goods_id":"441","qty":"1","subtotal":"30.00","goods_cid":"50","goods_stock":"9836","goods_is_sale":"1","goods_weight":"0","goods_weight_unit":"","goods_price":"30.00","thumb":"[{\"path\":\"\\/upload\\/images\\/gallery\\/l\\/b\\/768_src.jpg\",\"title\":\"1\"}]","img_src":"http://jm.lnest.cc/upload/images/gallery/l/b/768_src.jpg","url":"http://jm.lnest.cc/goods/show/441"}]
         * address : {"id":"389","mid":"1112","username":"android01","name":"辅导教师","mobile":"13512345678","zone":"500","area":"北京  东城区","address":"宇宙中心五道口","zip":"","is_default":"0"}
         * weight : 0
         * fright : {"17":{"id":"17","name":"顺丰","pinyin":"sf","listorder":"0","status":"1","free":"0","sid":"6","title":"顺丰","is_default":1,"freight_free":"0.00","shipping_fee":"0.00"},"10":{"id":"10","name":"顺丰速递","pinyin":"shunfeng","listorder":"1","status":"1","free":"1","sid":"0","title":"顺丰速递","freight_free":"0.00","shipping_fee":"0.00"},"12":{"id":"12","name":"申通快递","pinyin":"shentong","listorder":"4","status":"1","free":"0","sid":"0","title":"申通快递","freight_free":"0.00","shipping_fee":"0.00"}}
         * flow_user_money : false
         * flow_user_score : 0
         * payment : [{"pay_id":"61","pay_code":"wxpayapp","pay_name":"微信APP","pay_fee":"0","pay_desc":"微信APP <a target=\"_blank\" href=\"https://open.weixin.qq.com/cgi-bin/frame?t=home/app_tmpl&lang=zh_CN\">立即申请<\/a>","pay_order":"0","enabled":"1","is_cod":"1","is_online":"1","thumb":"http://jm.lnest.cc/upload/images/gallery/f/2/543_src.png"},{"pay_id":"62","pay_code":"alipayapp","pay_name":"支付宝APP","pay_fee":"0","pay_desc":"支付宝APP","pay_order":"0","enabled":"1","is_cod":"1","is_online":"1","thumb":"http://jm.lnest.cc/upload/images/gallery/f/1/542_src.png"}]
         * total : {"score_amout":0,"goods_amount":"30.00"}
         * token : 2e80f3a04287a313b322ae7a1be2daee
         */

        private int cart_type;
        private AddressBean address;
        private int weight;
        private boolean flow_user_money;
        private int flow_user_score;
        private TotalBean total;
        private String token;
        private List<CartGoodsBean> cart_goods;
        private List<PaymentBean> payment;

        public int getCart_type() {
            return cart_type;
        }

        public void setCart_type(int cart_type) {
            this.cart_type = cart_type;
        }

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public boolean isFlow_user_money() {
            return flow_user_money;
        }

        public void setFlow_user_money(boolean flow_user_money) {
            this.flow_user_money = flow_user_money;
        }

        public int getFlow_user_score() {
            return flow_user_score;
        }

        public void setFlow_user_score(int flow_user_score) {
            this.flow_user_score = flow_user_score;
        }

        public TotalBean getTotal() {
            return total;
        }

        public void setTotal(TotalBean total) {
            this.total = total;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public List<CartGoodsBean> getCart_goods() {
            return cart_goods;
        }

        public void setCart_goods(List<CartGoodsBean> cart_goods) {
            this.cart_goods = cart_goods;
        }

        public List<PaymentBean> getPayment() {
            return payment;
        }

        public void setPayment(List<PaymentBean> payment) {
            this.payment = payment;
        }

        public static class AddressBean {
            /**
             * id : 389
             * mid : 1112
             * username : android01
             * name : 辅导教师
             * mobile : 13512345678
             * zone : 500
             * area : 北京  东城区
             * address : 宇宙中心五道口
             * zip :
             * is_default : 0
             */

            private String id;
            private String mid;
            private String username;
            private String name;
            private String mobile;
            private String zone;
            private String area;
            private String address;
            private String zip;
            private String is_default;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getZone() {
                return zone;
            }

            public void setZone(String zone) {
                this.zone = zone;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getZip() {
                return zip;
            }

            public void setZip(String zip) {
                this.zip = zip;
            }

            public String getIs_default() {
                return is_default;
            }

            public void setIs_default(String is_default) {
                this.is_default = is_default;
            }
        }


        public static class TotalBean {
            /**
             * score_amout : 0
             * goods_amount : 30.00
             */

            private int score_amout;
            private String goods_amount;

            public int getScore_amout() {
                return score_amout;
            }

            public void setScore_amout(int score_amout) {
                this.score_amout = score_amout;
            }

            public String getGoods_amount() {
                return goods_amount;
            }

            public void setGoods_amount(String goods_amount) {
                this.goods_amount = goods_amount;
            }
        }

        public static class CartGoodsBean {
            /**
             * id : 1569
             * mid : 1112
             * order_id : 1614
             * good_id : 441
             * goods_name : 口水鱼香辣味15g*20/盒 小鱼仔小鱼干 新老包装交替中
             * goods_spec :
             * spec :
             * buy_num : 1
             * cost_price : 0.00
             * sell_price : 30.00
             * score_price : 0
             * c_time : 1505550203
             * type : 1
             * obj_id : 0
             * goods_info : null
             * extension_id : 0
             * share_id : 0
             * verify_code_id : 0
             * team_num : 0
             * express_id : null
             * goods_id : 441
             * qty : 1
             * subtotal : 30.00
             * goods_cid : 50
             * goods_stock : 9836
             * goods_is_sale : 1
             * goods_weight : 0
             * goods_weight_unit :
             * goods_price : 30.00
             * thumb : [{"path":"\/upload\/images\/gallery\/l\/b\/768_src.jpg","title":"1"}]
             * img_src : http://jm.lnest.cc/upload/images/gallery/l/b/768_src.jpg
             * url : http://jm.lnest.cc/goods/show/441
             */

            private String id;
            private String mid;
            private String order_id;
            private String good_id;
            private String goods_name;
            private String goods_spec;
            private String spec;
            private String buy_num;
            private String cost_price;
            private String sell_price;
            private String score_price;
            private String c_time;
            private String type;
            private String obj_id;
            private Object goods_info;
            private String extension_id;
            private String share_id;
            private String verify_code_id;
            private String team_num;
            private Object express_id;
            private String goods_id;
            private String qty;
            private String subtotal;
            private String goods_cid;
            private String goods_stock;
            private String goods_is_sale;
            private String goods_weight;
            private String goods_weight_unit;
            private String goods_price;
            private String thumb;
            private String img_src;
            private String url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getGood_id() {
                return good_id;
            }

            public void setGood_id(String good_id) {
                this.good_id = good_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_spec() {
                return goods_spec;
            }

            public void setGoods_spec(String goods_spec) {
                this.goods_spec = goods_spec;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getBuy_num() {
                return buy_num;
            }

            public void setBuy_num(String buy_num) {
                this.buy_num = buy_num;
            }

            public String getCost_price() {
                return cost_price;
            }

            public void setCost_price(String cost_price) {
                this.cost_price = cost_price;
            }

            public String getSell_price() {
                return sell_price;
            }

            public void setSell_price(String sell_price) {
                this.sell_price = sell_price;
            }

            public String getScore_price() {
                return score_price;
            }

            public void setScore_price(String score_price) {
                this.score_price = score_price;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getObj_id() {
                return obj_id;
            }

            public void setObj_id(String obj_id) {
                this.obj_id = obj_id;
            }

            public Object getGoods_info() {
                return goods_info;
            }

            public void setGoods_info(Object goods_info) {
                this.goods_info = goods_info;
            }

            public String getExtension_id() {
                return extension_id;
            }

            public void setExtension_id(String extension_id) {
                this.extension_id = extension_id;
            }

            public String getShare_id() {
                return share_id;
            }

            public void setShare_id(String share_id) {
                this.share_id = share_id;
            }

            public String getVerify_code_id() {
                return verify_code_id;
            }

            public void setVerify_code_id(String verify_code_id) {
                this.verify_code_id = verify_code_id;
            }

            public String getTeam_num() {
                return team_num;
            }

            public void setTeam_num(String team_num) {
                this.team_num = team_num;
            }

            public Object getExpress_id() {
                return express_id;
            }

            public void setExpress_id(Object express_id) {
                this.express_id = express_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getQty() {
                return qty;
            }

            public void setQty(String qty) {
                this.qty = qty;
            }

            public String getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(String subtotal) {
                this.subtotal = subtotal;
            }

            public String getGoods_cid() {
                return goods_cid;
            }

            public void setGoods_cid(String goods_cid) {
                this.goods_cid = goods_cid;
            }

            public String getGoods_stock() {
                return goods_stock;
            }

            public void setGoods_stock(String goods_stock) {
                this.goods_stock = goods_stock;
            }

            public String getGoods_is_sale() {
                return goods_is_sale;
            }

            public void setGoods_is_sale(String goods_is_sale) {
                this.goods_is_sale = goods_is_sale;
            }

            public String getGoods_weight() {
                return goods_weight;
            }

            public void setGoods_weight(String goods_weight) {
                this.goods_weight = goods_weight;
            }

            public String getGoods_weight_unit() {
                return goods_weight_unit;
            }

            public void setGoods_weight_unit(String goods_weight_unit) {
                this.goods_weight_unit = goods_weight_unit;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getImg_src() {
                return img_src;
            }

            public void setImg_src(String img_src) {
                this.img_src = img_src;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class PaymentBean {
            /**
             * pay_id : 61
             * pay_code : wxpayapp
             * pay_name : 微信APP
             * pay_fee : 0
             * pay_desc : 微信APP <a target="_blank" href="https://open.weixin.qq.com/cgi-bin/frame?t=home/app_tmpl&lang=zh_CN">立即申请</a>
             * pay_order : 0
             * enabled : 1
             * is_cod : 1
             * is_online : 1
             * thumb : http://jm.lnest.cc/upload/images/gallery/f/2/543_src.png
             */

            private String pay_id;
            private String pay_code;
            private String pay_name;
            private String pay_fee;
            private String pay_desc;
            private String pay_order;
            private String enabled;
            private String is_cod;
            private String is_online;
            private String thumb;

            public String getPay_id() {
                return pay_id;
            }

            public void setPay_id(String pay_id) {
                this.pay_id = pay_id;
            }

            public String getPay_code() {
                return pay_code;
            }

            public void setPay_code(String pay_code) {
                this.pay_code = pay_code;
            }

            public String getPay_name() {
                return pay_name;
            }

            public void setPay_name(String pay_name) {
                this.pay_name = pay_name;
            }

            public String getPay_fee() {
                return pay_fee;
            }

            public void setPay_fee(String pay_fee) {
                this.pay_fee = pay_fee;
            }

            public String getPay_desc() {
                return pay_desc;
            }

            public void setPay_desc(String pay_desc) {
                this.pay_desc = pay_desc;
            }

            public String getPay_order() {
                return pay_order;
            }

            public void setPay_order(String pay_order) {
                this.pay_order = pay_order;
            }

            public String getEnabled() {
                return enabled;
            }

            public void setEnabled(String enabled) {
                this.enabled = enabled;
            }

            public String getIs_cod() {
                return is_cod;
            }

            public void setIs_cod(String is_cod) {
                this.is_cod = is_cod;
            }

            public String getIs_online() {
                return is_online;
            }

            public void setIs_online(String is_online) {
                this.is_online = is_online;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}
